

use crossterm::{
    event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyEventState, KeyModifiers, MediaKeyCode, ModifierKeyCode},
    terminal,


 
};
mod editor;
mod terminalu;
mod document;
mod row;
use editor::Editor;
use terminalu::Terminalu;
use std::{io::{self, stderr, stdout, Read, Stdout, Write}, panic::catch_unwind};
use core::result;
pub use editor::Position;
pub use document::Document;
pub use row::Row;

fn main(){
  Editor::default().run();
  

  
}

